You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > StatControlCharts Class > StatControlCharts Methods > StatControlCharts.QCSChart Method
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
StatControlCharts.QCSChart Method

S-Chart.

Syntax
C#
Visual Basic
public static void QCSChart([In] TMtx Data, [In] TVec DrawVec, out double CL, out double UCL, out double LCL, double Confidence);
Parameters 
Description 
[In] TMtx Data 
Each Data row contains replicated observation taken at specific time. 
[In] TVec DrawVec 
Returns values to be drawn. 
out double CL 
Returns control Chart centerline. 
out double UCL 
Returns control Chart upper control limit. 
out double LCL 
Returns control Chart lower control limit. 
double Confidence 
Confidence level for upper and lower control limit. Confidence must lie in the (0,1) interval. 

Calculates S-Chart drawing values, center line, upper and lower control limit.

Place a TChart component on the chart and add a TQCSerie (Series1). The following code creates necessary values for S chart:

using Dew.Math; using Dew.Math.Units; using Dew.Stats.Units; namespace Dew.Examples { private void Example() { double cl,ucl,lcl; Matrix Data = new Matrix(0); Vector DrawVec = new Vector(0); Data.LoadFromFile("data.mtx"); // data is now initialized StatControlCharts.QCSChart(Data,DrawVec,out cl, out ucl, out lcl, 0.025); } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!